From: Paul Durrant Date: Wed, 10 Feb 2016 16:49:25 +0000 (+0000) Subject: public/io/netif.h: fix typos X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1781 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=77efb6604f344e9116beb6d393c3d10a877e1bb4;p=xen.git public/io/netif.h: fix typos Unfortunately my patch 162a81ab "document control ring and toeplitz hashing" contained a couple of typos. This patch fixes them. Signed-off-by: Paul Durrant Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan Acked-by: Ian Campbell --- diff --git a/xen/include/public/io/netif.h b/xen/include/public/io/netif.h index 8816e0ff8b..8d82625cbe 100644 --- a/xen/include/public/io/netif.h +++ b/xen/include/public/io/netif.h @@ -234,7 +234,7 @@ * Result = ToeplitzHash(Buffer, 32) */ #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6 2 -#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4) +#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6) /* * A hash calculated over an IP version 6 header and TCP header as @@ -248,7 +248,7 @@ * Result = ToeplitzHash(Buffer, 36) */ #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP 3 -#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4_TCP) +#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP) /* * Control requests (netif_ctrl_request_t)